package com.ruoyi.gd.wgdlog.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 完工单日志业务对象 z_wgd_log
 *
 * @author ruoyi
 * @date 2024-06-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZWgdLogBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 是否回款
     */
    private String wgdid;

    /**
     * 是否回款
     */
    @NotBlank(message = "是否回款不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sfhk;

    /**
     * 回款金额
     */
    @NotNull(message = "回款金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double hkje;

    /**
     * 回款时间
     */
    @NotNull(message = "回款时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date hksj;

    /**
     * 创建时间
     */
    private Date createtime;

}
